Skip to content

Comments

Add comprehensive test suite for core components#13

Merged
anchapin merged 2 commits intomainfrom
feature/comprehensive-test-suite
Aug 10, 2025
Merged

Add comprehensive test suite for core components#13
anchapin merged 2 commits intomainfrom
feature/comprehensive-test-suite

Conversation

@anchapin
Copy link
Owner

@anchapin anchapin commented Aug 8, 2025

This PR adds a comprehensive test suite for the core components of the ManaMind project, including:\n\n- Unit tests for Action, ActionSpace, and validators/executors\n- Unit tests for Agent implementations (RandomAgent, MCTSAgent, NeuralAgent)\n- Integration tests for core component interactions\n- Fixed MCTSNode to use list of tuples instead of dict for children to avoid hashability issues\n- Updated UCB1 score calculation to work with new children structure\n- All 54 tests passing\n\nCloses #10

…s for Action, ActionSpace, and validators/executors\n- Added unit tests for Agent implementations (RandomAgent, MCTSAgent, NeuralAgent)\n- Added integration tests for core component interactions\n- Fixed MCTSNode to use list of tuples instead of dict for children to avoid hashability issues\n- Updated UCB1 score calculation to work with new children structure\n- All 54 tests passing
@openhands-ai
Copy link

openhands-ai bot commented Aug 8, 2025

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Test Suite

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #13

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

- Remove duplicate function definitions from action.py (F811 errors)
- Fix import sorting issues across test files
- Resolve flake8 linting violations including unused imports and line length
- Format all files with black and clean up whitespace issues
- Update comma formatting for better readability in agent.py
- All 54 tests now passing with proper code formatting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Aug 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/manamind/core/agent.py 84.39% <100.00%> (+59.57%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@anchapin anchapin merged commit 8b305d7 into main Aug 10, 2025
4 checks passed
@anchapin anchapin deleted the feature/comprehensive-test-suite branch August 10, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant